package com.njupt.sellsec.service;

import com.njupt.sellsec.domain.SellUser;
import com.njupt.sellsec.result.CodeMsg;
import com.njupt.sellsec.vo.UserFormVo;

import javax.servlet.http.HttpServletResponse;

/**
 * @Author: XJL
 * @Description:
 * @Date: Create in 13:27 2018/7/28
 * @Modified By:
 **/
public interface SellUserService {
    SellUser findById(Long id);
    CodeMsg login(HttpServletResponse response,UserFormVo userFormVo);

    SellUser findUserByToken(HttpServletResponse response,String token);

    boolean updatePassword(String token,long id,String formPass);

}
